package learningThread.syn.synchronizedMethodLockObj.syschronizeObj;



public class TestOperationObj {

    /**
     *
     * @param args
     */
    public static void main(String[] args) {
        //没有 同步， 所以执行的结果 都是交替进行的
        OperationObj operationObj = new OperationObj();
        Thread3 thread3 = new Thread3(operationObj);
        Thread4 thread4 = new Thread4(operationObj);
        thread3.setName("c");
        thread4.setName("d");
        thread3.start();
        thread4.start();
    }
}
